/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ClassesUnicas;

/**
 * ComboBoxMultiData

 Versao 1.0

 Data Criação 25/03/2014
 *
 * @author Igor
 */
public class ComboBoxMultiData {
    private long codigo1;  
    private long codigo2;
    private String texto;  
  
    public ComboBoxMultiData(long id1, long id2, String label) {  
        this.codigo1 = id1; 
        this.codigo2 = id2;
        this.texto = label;  
    } 
    
    /**
     * @return the codigo1
     */
    public long getCodigo1() {  
        return codigo1;  
    }  

    /**
     * @return the codigo2
     */
    public long getCodigo2() {
        return codigo2;
    }
      
    @Override  
    public String toString() {  
        return texto;  
    }  
}
